/*------------------------------------------*/
/*  Online Portal Modal
/*------------------------------------------*/
.section-header h6 {
  font-size: 24px;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  padding-bottom: 20px;
}

.section-header h6::before {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #ffffff;
  bottom: 0;
  left: 0;
}

.portal .icon,.portal .title{
  margin:0;
  /* position:absolute; */
}

.portal .container{
  padding: 20px;
}

.portal{
  
  position:relative;
  
}

.portal img{
  
  width:100%;
  height:100%;
}

.portal .box-content{
  width:100%;
  height:92%;
  /* background:rgba(0,0,0,.6);  */
  background: rgba(0, 162, 174, 0.3);
  opacity:0;
  position:absolute;
  top:0;
  left:0;
  transform:perspective(300px) rotateX(-90deg);
  transform-origin:center top 0;
  transition:all .5s ease 0s;
  border-radius: 5px;
}

.portal .icon li a,.portal .title{
  background:#009688;
  font-size:20px;
  color:#fff;
}

.portal:hover .box-content{
  opacity:1;
  transform:perspective(400px) rotateX(0);
}

.portal .title{
  padding:5px 7px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  /* border-radius: 5px; */
  /* font-weight:500; */
  bottom:8px;
  left:2px;
  transition:all .9s ease 0s;
}

.portal .icon li a,.box9 .box-content,.box9 .icon li,.box9 img{
  transition:all .35s ease 0s;
}

.portal:hover .title{
  bottom:-40px;
  /* visibility: hidden; */
}

.portal .icon{
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/* .portal .icon li a{display:block;width:40px;height:40px;line-height:40px;border-radius:50%;margin-right:7px} */
.box9 .icon,.box9 .title{width:100%;font-size:22px}
/* .portal .icon li a:hover{background:#fff;color:#000} */

.portal-btn {
  background: #01758a;
  color: #fff;
  border-radius: 50px;
  padding: 8px 25px 9px 25px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 16px;
  /* display: inline-block; */
}

.portal-btn:hover {
  background: #009688;
  color: #fff;
}

/* @media (max-width: 375px) {
  .portal img{
    max-width: 252px;
    max-height: auto;
    margin: 0 0 0 0;
  }
} */

/* @media (max-width: 575px) {
  .portal img{
    max-height: 252px;
    max-height: auto;
    margin: 0 0 0 0;
  }
} */

@media (max-width: 768px) {
  .portal .portal-btn {
    margin: 0 0 0 0;
    padding: 8px 20px;
  }
}

@media only screen and (max-width:990px){.portal{margin-bottom:20px}
}